public class TestDemo {
    public static void main(String[] args) {

        Cat cat = new Cat("小花",4);
        cat.eat();

        cat.mimi();

        System.out.println("=====");

        Dog dog = new Dog("旺财",3);
        dog.eat();

        dog.wag();

    }
}